<?php
/**
 * The Template for displaying blog posts.
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */

 
get_header('blog'); ?>
	<section id="primary" class="site-content">
		<div id="content" role="main">
		<?php if ( have_posts() ) : ?>
			<?php while ( have_posts() ) : the_post(); ?>
            <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
            
                <header class="entry-header">
                    <h1 class="entry-title">
                        <?php the_title(); ?>
                    </h1>
                    <div id="meta-data">
                        <div id="fecha-post"><?php the_date("d/m/Y"); ?></div>
                        <div id="numero-comments-post"><?php comments_number('0 comentarios', '1 comentario', '% comentarios'); ?></div>
                    </div>
                </header><!-- .entry-header -->
                
                <div class="entry-content">
                    <?php 
                    the_post_thumbnail('full'); 
                    the_content();
                    ?>
                    <br />
                </div>
            </article><!-- #post -->
            <div id="blog-footer">&nbsp;</div>
            <?php comments_template(); ?> 
            <?php endwhile; ?>
		<?php endif; ?>
		    <footer></footer>
		</div><!-- #content -->
	</section><!-- #primary -->
<?php get_sidebar('blog'); ?>
<?php get_footer(); ?>